import axios from 'axios'

export default {
    data() {
        return {
            count: 888,
            list: []
        }
    },
    created() {
        // this.init()
        console.log(2222)
    },
    methods: {
        init() {
            axios.get("https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata").then(res => {
                this.list = res.data.message
            })
        }
    }
}